<!--
Mudei no bootstrap.min.css a class navbar from:#FFFFFF para #FFFF88
-->
<!DOCTYPE html>
<html>
    <head>
        <? require_once 'header.php'; ?>
    </head>
    <body>
        <?
        getNavbar();
        ?>
        <div class="container-fluid" style="margin-top: 60px;">
            <div class="row-fluid" >
                <div class="span3">
                    <div class="well sidebar-nav">
                        <?
                        //getFormBuscar();
                        $this->getPrincipaisCategorias();
                        ?>
                    </div><!--/.well -->
                </div><!--/span-->
                <div class="span9">
                    <div class="navbar">
                        <div class="navbar-inner">
                            <a class="brand" href="#">Eventos Mais Acessados</a>
                        </div>
                        <!-- Carousel ================================================== -->
                        <div id="myCarousel" class="carousel slide">
                            <div class="carousel-inner">
                                <div class="item active well">
                                    <div style="text-align: center;">
                                        <a href=""><h1>Tudo Hoje</h1><img src="/img/tudohoje.png" alt="" style="max-height: 250px; min-height: 250px;"></a>
                                    </div>
                                </div>
                                <?
                                $this->getEventosMaisAcessados();
                                ?>
                            </div>
                            <a class="left carousel-control" href="#myCarousel" data-slide="prev">&lsaquo;</a>
                            <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
                        </div><!-- /.carousel -->
                    </div>


                    <div class="navbar">
                        <div class="navbar-inner">
                            <a class="brand" href="/busca/proximoseventos">Proximos Eventos</a>
                        </div>
                        <ul class="thumbnails well">
                            <? $this->getPrincipaisEventos(); ?>
                        </ul>
                    </div>

                    <div class="navbar">
                        <div class="navbar-inner">
                            <a class="brand" href="/busca/empresas">Empresas Recomendadas</a>
                        </div>
                        <ul class="thumbnails well">
                            <? $this->getPrincipaisEmpresas(); ?>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <?
        require_once 'footer.php';
        ?>
    </body>

</html>